package com.hue.concurrent.day01;

/*
    多线程下Debug的使用:
        断点模式设置为Thread
 */
public class Demo04 {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                method1();
            }
        }, "t1").start();
        method1();
    }

    public static void method1() {
        System.out.println("method1...");
        method2();
    }

    public static void method2() {
        System.out.println("method2...");
    }
}
